.profile-container {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.profile-avatar {
  border: 3px solid #1890ff;
  margin-bottom: 12px;
}

.user-level {
  margin-top: 8px;
}

.stat-card {
  display: flex;
  align-items: center;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  color: white;
  font-size: 20px;
}

.stat-content h3 {
  margin-bottom: 4px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.45);
}

.stat-content p {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 500;
}

.passkey-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.passkey-hint {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
}

@media (max-width: 768px) {
  .profile-container {
    padding: 12px;
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
  }
  
  .stat-icon {
    margin-right: 0;
    margin-bottom: 12px;
  }
}
.avatar-upload-wrapper {
  position: relative;
  cursor: pointer;
}

.avatar-upload-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.avatar-upload-wrapper:hover .avatar-upload-mask {
  opacity: 1;
}

.profile-avatar {
  transition: all 0.3s;
}

.profile-avatar:hover {
  transform: scale(1.05);
}

/* 在 profile.css 中添加以下样式 */
.user-actions-card {
  margin-top: 24px;
}

.user-actions-card .ant-btn {
  height: 40px;
  font-size: 16px;
}

.exchange-info, .invite-info {
  margin-top: 16px;
  padding: 12px;
  background-color: #f6f6f6;
  border-radius: 4px;
}

.exchange-info p, .invite-info p {
  margin-bottom: 8px;
}

.exchange-info p:last-child, .invite-info p:last-child {
  margin-bottom: 0;
}
/* 在 profile.css 中添加以下样式 */
.invite-code-table {
  margin-top: 16px;
}

.invite-code-table .ant-table-thead > tr > th {
  background-color: #fafafa;
}

.invite-code-copy-btn {
  padding: 0;
}